package com.ruoyi.system.service.impl;

import java.util.List;

import com.ruoyi.common.core.domain.entity.BusinessLoginInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.BusinessLoginInfoMapper;
import com.ruoyi.system.service.IBusinessLoginInfoService;

/**
 * 业务系统登录信息Service业务层处理
 * 
 * @author ess
 * @date 2021-10-18
 */
@Service
public class BusinessLoginInfoServiceImpl implements IBusinessLoginInfoService 
{
    @Autowired
    private BusinessLoginInfoMapper businessLoginInfoMapper;

    /**
     * 查询业务系统登录信息
     * 
     * @param businessLoginInfoId 业务系统登录信息主键
     * @return 业务系统登录信息
     */
    @Override
    public BusinessLoginInfo selectBusinessLoginInfoByBusinessLoginInfoId(String businessLoginInfoId)
    {
        return businessLoginInfoMapper.selectBusinessLoginInfoByBusinessLoginInfoId(businessLoginInfoId);
    }

    /**
     * 查询业务系统登录信息列表
     * 
     * @param businessLoginInfo 业务系统登录信息
     * @return 业务系统登录信息
     */
    @Override
    public List<BusinessLoginInfo> selectBusinessLoginInfoList(BusinessLoginInfo businessLoginInfo)
    {
        return businessLoginInfoMapper.selectBusinessLoginInfoList(businessLoginInfo);
    }

    /**
     * 新增业务系统登录信息
     * 
     * @param businessLoginInfo 业务系统登录信息
     * @return 结果
     */
    @Override
    public int insertBusinessLoginInfo(BusinessLoginInfo businessLoginInfo)
    {
        return businessLoginInfoMapper.insertBusinessLoginInfo(businessLoginInfo);
    }

    /**
     * 修改业务系统登录信息
     * 
     * @param businessLoginInfo 业务系统登录信息
     * @return 结果
     */
    @Override
    public int updateBusinessLoginInfo(BusinessLoginInfo businessLoginInfo)
    {
        return businessLoginInfoMapper.updateBusinessLoginInfo(businessLoginInfo);
    }

    /**
     * 批量删除业务系统登录信息
     * 
     * @param businessLoginInfoIds 需要删除的业务系统登录信息主键
     * @return 结果
     */
    @Override
    public int deleteBusinessLoginInfoByBusinessLoginInfoIds(String[] businessLoginInfoIds)
    {
        return businessLoginInfoMapper.deleteBusinessLoginInfoByBusinessLoginInfoIds(businessLoginInfoIds);
    }

    /**
     * 删除业务系统登录信息信息
     * 
     * @param businessLoginInfoId 业务系统登录信息主键
     * @return 结果
     */
    @Override
    public int deleteBusinessLoginInfoByBusinessLoginInfoId(String businessLoginInfoId)
    {
        return businessLoginInfoMapper.deleteBusinessLoginInfoByBusinessLoginInfoId(businessLoginInfoId);
    }
}
